StoreEngine\frontend\template\Block A

Total Complexity 75
Dependencies 8
Dependents 1
Total lines 391
Lines of code 306
Logical lines of code 181
Comment lines 23
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
add_block_templates()
A
47 11 33
build_template_result_from_post()
A
47 7 34
get_block_templates_from_plugin()
S
53 6 24
build_template_result_from_file()
S
51 6 23
inject_theme_attribute_in_content()
S
54 6 22
update_hierarchy()
S
55 5 20
flatten_blocks()
S
56 5 20
get_block_file_template()
S
56 4 17
create_new_block_template_object()
S
58 4 15
get_block_templates_from_db()
S
52 3 25
get_template_paths()
S
62 3 11
block_template_is_available()
S
67 3 7
convert_slug_to_title()
S
64 3 10
get_block_template_title()
S
66 2 8
get_block_template_description()
S
69 2 7
get_plugin_block_template_types()
S
62 1 12
init()
S
69 1 6
get_templates_files_from_plugin()
S
80 1 3
get_block_templates()
S
72 1 5
generate_template_slug_from_path()
S
75 1 4